<template>
    <div>
        <header>
            <div class="search-section">
                <input placeholder="安全帽" />
                <button></button>
            </div>
        </header>

        <div class="details">
            <div class="details_top">
                <p>省电力公司</p>
            </div>

            <ul class="details_list">
                <li>
                    <div>
                        安全部分
                        <x-icon type="ios-arrow-up"
                                size="22"
                                class="icon-up"></x-icon>
                    </div>
                    <ul class="list_2">
                        <li>
                            <div>
                                <span class="checkbox active"></span>
                                <i>分管领导</i>
                            </div>

                        </li>
                        <li>
                            <div>
                                <span class="checkbox active"></span>
                                <i>专责</i>
                            </div>
                        </li>
                        <li>
                            <div>
                                <span class="checkbox active"></span>
                                <i>其他</i>
                            </div>
                        </li>
                        <li>
                            <div>
                                <span class="checkbox active"></span>项目管理二部
                                <x-icon type="ios-arrow-down"
                                        size="22"
                                        class="icon-down"></x-icon>
                            </div>
                            <ul class="list_3">
                                <li>
                                    <span class="checkbox active"></span>临时用电
                                    <x-icon type="ios-arrow-right"
                                            size="22"
                                            class="icon-right"></x-icon>
                                </li>
                                <li>
                                    <span class="checkbox active"></span>消防
                                    <x-icon type="ios-arrow-right"
                                            size="22"
                                            class="icon-right"></x-icon>
                                </li>
                                <li>
                                    <span class="checkbox active"></span>高处作业
                                    <x-icon type="ios-arrow-right"
                                            size="22"
                                            class="icon-right"></x-icon>
                                </li>
                            </ul>
                        </li>
                        <li>
                            <div>项目管理一部
                                <x-icon type="ios-arrow-up"
                                        size="22"
                                        class="icon-up"></x-icon>
                            </div>
                            <ul class="list_3">
                                <li>高处作业
                                    <x-icon type="ios-arrow-right"
                                            size="22"
                                            class="icon-right"></x-icon>
                                </li>
                            </ul>
                        </li>
                    </ul>
                </li>
                <li>
                    <div>
                        专家组成员
                        <x-icon type="ios-arrow-up"
                                size="22"
                                class="icon-up"></x-icon>
                    </div>
                    <ul class="list_2">
                        <li>
                            <div>
                                <span class="checkbox active"></span>
                                <i>专家刘敏</i>
                            </div>

                        </li>
                        <li>
                            <div>
                                <span class="checkbox active"></span>
                                <i>专家王鹏辉</i>
                            </div>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </div>
</template>
<script>
export default {
    name: 'selectCopyUser'
}
</script>
<style lang="less" scoped>
header {
    padding: 10px 20px;
    background: #ebeef3;
    .search-section {
        display: flex;
        align-items: center;
        width: 100%;
        height: 40px;
        background: #fff;
        border-radius: 6px;
        overflow: hidden;
        padding: 0 8px 0 12px;
        input {
            flex: 1;
        }
        button {
            width: 24px;
            height: 24px;
            background: url(../../../static/images/s_03.png) no-repeat center;
            background-size: contain;
        }
    }
}
.details {
    .details_top {
        // border-bottom: 1px solid #ebeef2;
        height: 45px;
        line-height: 44px;
        padding-right: 20px;
        margin-left: 20px;
        background: #fff;
        p {
            float: left;
            color: #469b7a;
            font-size: 16px;
            font-weight: bold;
        }
        .vux-x-icon {
            fill: #999;
            float: right;
            margin-top: 12px;
        }
    }
    .details_list {
        .vux-x-icon {
            fill: #999;
            float: right;
            margin-top: 16px;
        }
        li {
            > div {
                height: 54px;
                line-height: 54px;
                padding-right: 20px;
            }
            .checkbox {
                display: inline-block;
                width: 16px;
                height: 16px;
                background: url(../../../static/images/checkbox.png) no-repeat
                    center;
                background-size: cover;
                margin-right: 10px;
                &.active {
                    background: url(../../../static/images/checked.png)
                        no-repeat center;
                    background-size: cover;
                }
            }
        }
        > li {
            justify-content: space-between;
            padding-left: 20px;
            // border-bottom: 5px solid #ebeef2;
            > div {
                font-weight: bold;
                font-size: 16px;
                border-top: 1px solid #ebeef2;
            }
            .list_2 {
                li {
                    border-top: 1px solid #ebeef2;
                    > div {
                        font-weight: bold;
                        font-size: 14px;
                    }
                }
            }
            .list_3 {
                li {
                    font-size: 14px;
                    text-indent: 2em;
                    height: 55px;
                    line-height: 54px;
                    border-top: 1px solid #ebeef2;
                    padding-right: 20px;
                }
            }
        }
    }
}
</style>

